//
//  FTYShoppingCartPort.h
//  RedWine
//
//  Created by Liufangfang on 2017/1/4.
//  Copyright © 2017年 HuiBangKe. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^ReturnStateBlock)(BOOL isBool);

@interface FTYShoppingCartPort : NSObject

/**
 * @brief 收藏接口请求
 * projectID  项目ID
 * viewController 当前界面 方便跳转登录界面
 * block 回调 YES是收藏状态 NO是未收藏状态
 */


+ (void)requestShoppingCartWithProjectID:(NSString *)projectID viewController:(UIViewController *)vc block:(ReturnStateBlock)block;

+ (void)updateShoppingCartWithShopCartID:(NSString *)shopCartID goodsNum:(NSInteger)goodsNum viewController:(UIViewController *)vc block:(ReturnStateBlock)block;
+ (void)addShoppingCartWithProjectID:(NSString *)projectID viewController:(UIViewController *)vc block:(ReturnStateBlock)block;
@end
